/**
 * 
 */
package name.webdizz.gadget.four.envelope.client;

import com.google.gwt.core.client.GWT;

/**
 * This factory creates {@link EnvelopeImageBundle}.
 * 
 * @author Izzet_Mustafayev
 * 
 */
public class ImageBundleFactory {

	/**
	 * Holds created instance.
	 */
	private static EnvelopeImageBundle IMAGE_BUNDLE;

	private ImageBundleFactory() {
		super();
	}

	/**
	 * Create {@link EnvelopeImageBundle} instance.
	 * 
	 * @return {@link EnvelopeImageBundle}
	 */
	public static EnvelopeImageBundle createEnvelopeImageBundle() {
		if (null == IMAGE_BUNDLE) {
			IMAGE_BUNDLE = (EnvelopeImageBundle) GWT
					.create(EnvelopeImageBundle.class);
		}
		return IMAGE_BUNDLE;
	}
}
